package com.competition.param.impl;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import com.constant.ValidateCondtionAndMessage;

public class RedisTotal {

	@NotNull
	@Min(value = ValidateCondtionAndMessage.MIN_ID, message = ValidateCondtionAndMessage.MIN_ID_MSG)
	private int total = 0;

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}
	
}
